package com.zrsx.managemodel.service;

import com.zrsx.managemodel.common.dto.CreditDTO;
import com.zrsx.managemodel.common.dto.CreditDimensionDTO;
import com.zrsx.managemodel.common.entity.CreditInterpretation;

import java.time.LocalDateTime;

public interface CreditManageService {

    void updateCredit(CreditDimensionDTO creditDimensionDTO, CreditInterpretation creditInterpretation);

    void deleteCredit(Integer userId);

    void addCredit(CreditDTO creditDTO);

    int updateTotalCreditDescBetween(LocalDateTime start, LocalDateTime end);

}
